<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" />
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd6" namespace="NetBay.Core.BusinessEntities" />
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd15" namespace="http://schemas.datacontract.org/2004/07/System.Drawing" />
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Enum" />
  <xs:element name="SearchTextInImportDocument">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sFileName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element minOccurs="0" name="p_sSearchedWords" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_lStartPage" type="xs:int" />
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q1:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SearchTextInImportDocumentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="SearchTextInImportDocumentResult" nillable="true" type="q2:ReturnLong" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SearchTextInDocument">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sFileNameFullPath" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_sSearchedWords" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_lStartPage" type="xs:int" />
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q3:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SearchTextInDocumentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="SearchTextInDocumentResult" nillable="true" type="q4:ReturnLong" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Duplicate_Document">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sDocumentNameFullPathSource" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_sDocumentNameFullPathDestination" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_sStockPath" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Duplicate_DocumentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="Duplicate_DocumentResult" nillable="true" type="q5:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DoBarcodeRecognition">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="images" nillable="true" type="q6:ArrayOfstring" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element minOccurs="0" name="p_bOrderByDescending" type="xs:boolean" />
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q7:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DoBarcodeRecognitionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="NetBay.Core.BusinessEntities" minOccurs="0" name="DoBarcodeRecognitionResult" nillable="true" type="q8:ArrayOfImageRio" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteExtractFolder">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="p_oGuid" type="q9:guid" />
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q10:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteExtractFolderResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="DeleteExtractFolderResult" nillable="true" type="q11:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetExtractedFolders">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="p_oGuid" type="q12:guid" />
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q13:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetExtractedFoldersResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="GetExtractedFoldersResult" nillable="true" type="q14:ReturnDoubleValue" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ExtractFolder">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="p_oGuid" type="q15:guid" />
        <xs:element minOccurs="0" name="p_iFolderId" type="xs:long" />
        <xs:element xmlns:q16="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_dicFolderIndex" nillable="true" type="q16:ArrayOfKeyValueOfstringstring" />
        <xs:element xmlns:q17="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_dicFilePathItem" nillable="true" type="q17:ArrayOfKeyValueOfstringstring" />
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q18:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ExtractFolderResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="ExtractFolderResult" nillable="true" type="q19:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateTemporaryDirectory">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sGuid" nillable="true" type="xs:string" />
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q20:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateTemporaryDirectoryResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="CreateTemporaryDirectoryResult" nillable="true" type="q21:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ConvertDocumentAppend">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sGuid" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_sFileName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q22:MessageRequest" />
        <xs:element minOccurs="0" name="p_bImport" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ConvertDocumentAppendResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="ConvertDocumentAppendResult" nillable="true" type="q23:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ConvertDocumentFinish">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sGuid" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q24:MessageRequest" />
        <xs:element minOccurs="0" name="p_bUsePrintMode" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ConvertDocumentFinishResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="ConvertDocumentFinishResult" nillable="true" type="q25:ReturnString" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteTemporaryDirectory">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sGuid" nillable="true" type="xs:string" />
        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q26:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteTemporaryDirectoryResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q27="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="DeleteTemporaryDirectoryResult" nillable="true" type="q27:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateRefreshFile">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sGuidToString" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateRefreshFileResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q28="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="CreateRefreshFileResult" nillable="true" type="q28:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteRefreshFile">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sGuidToString" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteRefreshFileResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteImportDocument">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q29="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_sDocumentName" nillable="true" type="q29:ArrayOfstring" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q30="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q30:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteImportDocumentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="DeleteImportDocumentResult" nillable="true" type="q31:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteImportDirectories">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q32="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_sDirectoriesList" nillable="true" type="q32:ArrayOfstring" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q33="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q33:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteImportDirectoriesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q34="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="DeleteImportDirectoriesResult" nillable="true" type="q34:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GeneratePdfPages">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sFileName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element minOccurs="0" name="p_bImport" type="xs:boolean" />
        <xs:element xmlns:q35="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q35:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GeneratePdfPagesResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDocumentByFullPath">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sFullPathFileNameToReturn" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_iStartPage" type="xs:int" />
        <xs:element minOccurs="0" name="p_iEndPage" type="xs:int" />
        <xs:element xmlns:q36="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q36:MessageRequest" />
        <xs:element minOccurs="0" name="p_bImport" type="xs:boolean" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element minOccurs="0" name="p_sVersion" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDocumentByFullPathResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q37="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="GetDocumentByFullPathResult" nillable="true" type="q37:ReturnDoubleValue" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImageFromFullPath">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q38="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_lstImageFullPath" nillable="true" type="q38:ArrayOfstring" />
        <xs:element xmlns:q39="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_lstOriginalImageFullPath" nillable="true" type="q39:ArrayOfstring" />
        <xs:element xmlns:q40="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q40:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImageFromFullPathResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q41="NetBay.Core.BusinessEntities" minOccurs="0" name="GetImageFromFullPathResult" nillable="true" type="q41:ArrayOfImageRio" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImportThumbNailList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element minOccurs="0" name="p_bOrderByDescending" type="xs:boolean" />
        <xs:element xmlns:q42="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q42:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImportThumbNailListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q43="NetBay.Core.BusinessEntities" minOccurs="0" name="GetImportThumbNailListResult" nillable="true" type="q43:ArrayOfImageRio" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImportThumbNailListFromPath">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element minOccurs="0" name="p_directoryPath" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_bOrderByDescending" type="xs:boolean" />
        <xs:element xmlns:q44="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q44:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImportThumbNailListFromPathResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q45="NetBay.Core.BusinessEntities" minOccurs="0" name="GetImportThumbNailListFromPathResult" nillable="true" type="q45:ArrayOfImageRio" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImportCountTiffPages">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sTiffFileName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q46="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q46:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImportCountTiffPagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q47="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="GetImportCountTiffPagesResult" nillable="true" type="q47:ReturnLong" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImportCountPdfPages">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sTiffFileName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q48="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q48:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImportCountPdfPagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q49="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="GetImportCountPdfPagesResult" nillable="true" type="q49:ReturnLong" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPageCountFromPdfFullPath">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sPdfFileFullPath" nillable="true" type="xs:string" />
        <xs:element xmlns:q50="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q50:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPageCountFromPdfFullPathResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q51="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="GetPageCountFromPdfFullPathResult" nillable="true" type="q51:ReturnLong" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImportDocumentByFileName">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sDocumentName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element minOccurs="0" name="p_iStartPage" type="xs:int" />
        <xs:element minOccurs="0" name="p_iEndPage" type="xs:int" />
        <xs:element xmlns:q52="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q52:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImportDocumentByFileNameResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q53="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="GetImportDocumentByFileNameResult" nillable="true" type="q53:ReturnDoubleValue" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPageCountFromTiffFullPath">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sTiffFileFullPath" nillable="true" type="xs:string" />
        <xs:element xmlns:q54="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q54:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPageCountFromTiffFullPathResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q55="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="GetPageCountFromTiffFullPathResult" nillable="true" type="q55:ReturnLong" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPrintableVersionOfDocumentFullPath">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q56="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_lstDocumentFullPath" nillable="true" type="q56:ArrayOfstring" />
        <xs:element xmlns:q57="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q57:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPrintableVersionOfDocumentFullPathResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q58="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="GetPrintableVersionOfDocumentFullPathResult" nillable="true" type="q58:ReturnString" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ImportFileExists">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sFileName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q59="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q59:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ImportFileExistsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q60="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="ImportFileExistsResult" nillable="true" type="q60:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="MoveImportDocument">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q61="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_lstDocument" nillable="true" type="q61:ArrayOfDocument" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q62="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q62:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="MoveImportDocumentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q63="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="MoveImportDocumentResult" nillable="true" type="q63:ArrayOfDocument" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="MoveOrCopyDocumentWithFullPath">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q64="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_lstDocument" nillable="true" type="q64:ArrayOfDocument" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element minOccurs="0" name="isMoveAction" type="xs:boolean" />
        <xs:element xmlns:q65="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q65:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="MoveOrCopyDocumentWithFullPathResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q66="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="MoveOrCopyDocumentWithFullPathResult" nillable="true" type="q66:ArrayOfDocument" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostDocumentWithSegment">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_oDocumentSegment" nillable="true" type="xs:base64Binary" />
        <xs:element minOccurs="0" name="p_sDocumentName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q67="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="p_oSegmentGuid" type="q67:guid" />
        <xs:element minOccurs="0" name="p_iSegmentOrder" type="xs:int" />
        <xs:element minOccurs="0" name="p_bLastSegment" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostDocumentWithSegmentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q68="NetBay.Core.BusinessEntities" minOccurs="0" name="PostDocumentWithSegmentResult" nillable="true" type="q68:ImageRio" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostDocumentWithSegmentNoThumbnail">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_oDocumentSegment" nillable="true" type="xs:base64Binary" />
        <xs:element minOccurs="0" name="p_sDocumentName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q69="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="p_oSegmentGuid" type="q69:guid" />
        <xs:element minOccurs="0" name="p_iSegmentOrder" type="xs:int" />
        <xs:element minOccurs="0" name="p_bLastSegment" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostDocumentWithSegmentNoThumbnailResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q70="NetBay.Core.BusinessEntities" minOccurs="0" name="PostDocumentWithSegmentNoThumbnailResult" nillable="true" type="q70:ImageRio" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostDocumentWithSegmentAndDirectory">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_oDocumentSegment" nillable="true" type="xs:base64Binary" />
        <xs:element minOccurs="0" name="p_sDocumentName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q71="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="p_oSegmentGuid" type="q71:guid" />
        <xs:element minOccurs="0" name="p_iSegmentOrder" type="xs:int" />
        <xs:element minOccurs="0" name="p_bLastSegment" type="xs:boolean" />
        <xs:element minOccurs="0" name="p_sDirectory" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostDocumentWithSegmentAndDirectoryResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q72="NetBay.Core.BusinessEntities" minOccurs="0" name="PostDocumentWithSegmentAndDirectoryResult" nillable="true" type="q72:ImageRio" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostDocumentWithSegmentAndDirectoryMove">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_oDocumentSegment" nillable="true" type="xs:base64Binary" />
        <xs:element minOccurs="0" name="p_sDocumentNameFullPath" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_sStockPath" nillable="true" type="xs:string" />
        <xs:element xmlns:q73="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="p_oSegmentGuid" type="q73:guid" />
        <xs:element minOccurs="0" name="p_iSegmentOrder" type="xs:int" />
        <xs:element minOccurs="0" name="p_bLastSegment" type="xs:boolean" />
        <xs:element minOccurs="0" name="p_bMustOverWrite" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostDocumentWithSegmentAndDirectoryMoveResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q74="NetBay.Core.BusinessEntities" minOccurs="0" name="PostDocumentWithSegmentAndDirectoryMoveResult" nillable="true" type="q74:ImageRio" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="RotateImage">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_oImage" nillable="true" type="xs:base64Binary" />
        <xs:element xmlns:q75="http://schemas.datacontract.org/2004/07/System.Drawing" minOccurs="0" name="p_fAngle" type="q75:RotateFlipType" />
        <xs:element minOccurs="0" name="p_sExtension" nillable="true" type="xs:string" />
        <xs:element xmlns:q76="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q76:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="RotateImageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q77="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="RotateImageResult" nillable="true" type="q77:ReturnByte" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveImportRotatedImages">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q78="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_lstImagesToRotateAndSave" nillable="true" type="q78:ArrayOfKeyValueOfstringArrayOfKeyValueOfintRotateFlipType3odnvp_PEty7Ep6D1" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q79="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q79:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveImportRotatedImagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q80="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="SaveImportRotatedImagesResult" nillable="true" type="q80:ReturnObject" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveRotatedImagesWithFullPath">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q81="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_lstImagesToRotateAndSave" nillable="true" type="q81:ArrayOfKeyValueOfstringArrayOfKeyValueOfintRotateFlipType3odnvp_PEty7Ep6D1" />
        <xs:element xmlns:q82="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q82:MessageRequest" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveRotatedImagesWithFullPathResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q83="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="SaveRotatedImagesWithFullPathResult" nillable="true" type="q83:ReturnObject" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveRotatedImagesWithFullPathAndDirectory">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q84="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_lstImagesToRotateAndSave" nillable="true" type="q84:ArrayOfKeyValueOfstringArrayOfKeyValueOfintRotateFlipType3odnvp_PEty7Ep6D1" />
        <xs:element xmlns:q85="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q85:MessageRequest" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element minOccurs="0" name="p_sDirectoryName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveRotatedImagesWithFullPathAndDirectoryResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q86="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="SaveRotatedImagesWithFullPathAndDirectoryResult" nillable="true" type="q86:ReturnObject" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveImportRotatedImagesWithDirectory">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q87="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_lstImagesToRotateAndSave" nillable="true" type="q87:ArrayOfKeyValueOfstringArrayOfKeyValueOfintRotateFlipType3odnvp_PEty7Ep6D1" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element minOccurs="0" name="p_sDirectoryName" nillable="true" type="xs:string" />
        <xs:element xmlns:q88="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q88:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveImportRotatedImagesWithDirectoryResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q89="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="SaveImportRotatedImagesWithDirectoryResult" nillable="true" type="q89:ReturnObject" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostDocument">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_oDocument" nillable="true" type="xs:base64Binary" />
        <xs:element minOccurs="0" name="p_sDocumentName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostDocumentResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="RefreshFileExists">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sGuidToString" nillable="true" type="xs:string" />
        <xs:element xmlns:q90="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q90:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="RefreshFileExistsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q91="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="RefreshFileExistsResult" nillable="true" type="q91:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ProcessOcr">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sFileName" nillable="true" type="xs:string" />
        <xs:element xmlns:q92="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_lstOcrMaskItem" nillable="true" type="q92:ArrayOfOcrMaskItem" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element xmlns:q93="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q93:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ProcessOcrResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q94="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="ProcessOcrResult" nillable="true" type="q94:ArrayOfOcrMaskItem" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ProcessOcrArea">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sFileName" nillable="true" type="xs:string" />
        <xs:element xmlns:q95="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oOcrArea" nillable="true" type="q95:OcrArea" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element xmlns:q96="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Enum" minOccurs="0" name="p_oOcrType" type="q96:OcrType" />
        <xs:element xmlns:q97="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q97:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ProcessOcrAreaResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ProcessOcrAreaResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CarveImportFiles">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q98="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="p_lstDocumentName" nillable="true" type="q98:ArrayOfstring" />
        <xs:element minOccurs="0" name="p_sDirectoryName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element minOccurs="0" name="p_iNbPart" type="xs:int" />
        <xs:element xmlns:q99="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q99:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CarveImportFilesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q100="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="CarveImportFilesResult" nillable="true" type="q100:ReturnString" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteImportImages">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q101="NetBay.Core.BusinessEntities" minOccurs="0" name="p_lstDocumentName" nillable="true" type="q101:ArrayOfImageRio" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q102="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q102:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteImportImagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q103="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="DeleteImportImagesResult" nillable="true" type="q103:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ImportDirectoryIsEmpty">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_sDirectoryName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_iUserId" type="xs:long" />
        <xs:element xmlns:q104="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q104:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ImportDirectoryIsEmptyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q105="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="ImportDirectoryIsEmptyResult" nillable="true" type="q105:ReturnBoolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GenerateReport">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="p_lUserId" type="xs:long" />
        <xs:element minOccurs="0" name="p_sXmlSourceDocumentName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_sReportDestinationFullPath" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="p_sUserEmailAdress" nillable="true" type="xs:string" />
        <xs:element xmlns:q106="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" minOccurs="0" name="p_oMessageRequest" nillable="true" type="q106:MessageRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GenerateReportResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
</xs:schema>